<?php
session_start();
require '../nette/Nette/loader.php';
require '../db.php';
require '../localization/lang.php';
require '../core/core.sanitizer.php';
require '../core/core.security.php';
require '../core/core.dfs.php';
require '../visual/visual.dfs.php';

$login=new core_security;
if ($login->checklogin()=="OK" AND $_SESSION['role']<=1) {
$loc= new loc;
echo "<h3>".$loc->choosejobsforstatistics."</h3>";
$dfs_wiev = new visual_dfs($spojeni, 'tree');
echo $dfs_wiev->showtree_statistics(1);


}
?>
